home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Colorado Rockies 2000
/
Colorado Rockies 2000 by US West.iso
/
pc
/
SET_VAR.BAT
< prev
next >
Wrap
DOS Batch File
|
2000-05-05
|
720b
|
30 lines
echo off
rem *********************************************************
rem *
rem * To set the STUID environment variable and start
rem * the go.bat file for a given course
rem *
rem * The arguments are as follows:
rem * 1. drive for course exe/bat
rem * 2. path for course exe/bat
rem * 3. name of course exe/bat (usually go.bat)
rem * 4. student number value for env variable
rem * 5. path value for env variable
rem *
rem *********************************************************
rem Change to course drive
%1
rem Change to course directory
cd %2
if %4==nul goto label
set STUID=%4 %5
:label
%3